#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Description: TODO
 *
 * @author songcx
 * @date 2019/8/22 11:52
 *
 * <pre>
 *              ${copyright}
 *      Copyright (c) 2019. All Rights Reserved.
 * </pre>
 */

@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"${package}.common.component", "${package}.demo", "${package}.oauth"})
@EnableFeignClients(basePackages = {"${package}.demo", "${package}.auth"})
@EnableSwagger2
@EnableCaching
@MapperScan("${package}.*.module.*.mapper")
public class DemoServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoServerApplication.class,args);
    }

}
